Open a modal dialog, try to open the message tray -> no effect, the message
tray is blocked by the dialog.
Close the dialog, try to open the message tray by pointer -> still
no effect, because the old timeout id was not cleared the first time,
so the dwell callback thinks the tray is about to open.
https://bugzilla.gnome.org/show_bug.cgi?id=688750
},
_trayDwellTimeout: function() {
+ this._trayDwellTimeoutId = 0;
+
if (Main.modalCount > 0)
return false;
if (currentUserTime != this._trayDwellUserTime)
return false;
- this._trayDwellTimeoutId = 0;
-
this._traySummoned = true;
this._updateState();